# -*- coding: utf-8 -*-
from flask import flash, Blueprint, render_template, request, jsonify, redirect, url_for, session
from datetime import datetime
from app.config import create_db_connection
from app.config import compress_and_save_image
import os
import imghdr
import tempfile

delivery_note_bp = Blueprint('delivery_note', __name__)

@delivery_note_bp.route('/delivery_note', methods=['GET', 'POST'])
def shipment_invoice():
    order_number = '12345'
    customer_name = '张三'
    product_name = '商品A'

    return render_template('delivery_note/delivery_note.html', order_number=order_number, customer_name=customer_name, product_name=product_name)